package com.szxy.cart.service;

import com.szxy.utils.Result;

/**
 * @Auther:zwer
 * @Date:2019/9/12 17:45
 * @Description:com.szxy.cart.service
 * @Version:1.0
 **/
public interface RedisCartService {

    Result addItem(Long itemId, Integer num, String userId);

    Result showCart(String userId);

    Result updateItemNum(Long itemId, Integer num, String userId);

    Result deleteItemFromCart(Long itemId, String userId);

    Result goSettlement(String[] ids, String userId);
}
